Blocked Clause Elimination and its Extensions
نویسندگان
چکیده
Boolean satisfiability (SAT) has become a core technology in many application domains, such as planning and formal verification, and continues to find various new application domains today. The SAT-based approach divides into three steps: encoding, preprocessing, and search. It is often argued that by encoding arbitrary Boolean formulas in conjunctive normal form (CNF), structural properties of the original problem are not reflected in the CNF. This should result in the fact that CNF-level preprocessing and SAT solver techniques have an inherent disadvantage compared to related techniques applicable on the level of more structural SAT instance representations such as Boolean circuits. Motivated by this, various simplification techniques and intricate CNF encodings for circuit-level SAT instance descriptions have been proposed. On the other hand, based on the highly efficient CNF-level clause learning SAT solvers, there is also strong support for the claim that CNF is sufficient as an input format for SAT solvers. In this work we study the effect of a CNF-level simplification technique called blocked clause elimination (BCE) [4].We show that BCE is surprisingly effective both in theory and in practice on CNF formulas resulting from a standard CNF encoding for circuits [3]: without explicit knowledge of the underlying circuit structure, it achieves the same level of simplification as a combination of circuitlevel simplifications and previously suggested polarity-based CNF encodings. Encouraged by the results of BCE, we developed five extensions of this clause elimination technique. This work is motivated on one hand by the possibilities of lifting SAT solving efficiency further by integrating additional simplification techniques to the solving process before and/or during search, and on the other by understanding the relationships between these different simplification techniques. As extensions of BCE we introduce novel elimination procedures based on adding hidden [1] and asymmetric and covered [2] literals to clauses and then check whether these extended clauses are blocked. ∗Supported by the Dutch Organization for Scientific Research (NWO) under grant 617.023.611 We analyze the resulting six clause elimination procedures from various perspectives. One property is effectiveness (or size reduction), i.e., the ability to remove clauses and thus reduce the size of the CNF formula. Notice that reducing the size of a CNF by preprocessing does not necessarily lead to faster running times. The second property, confluence, implies that a procedure has a unique fixpoint. Both explicit BCE and the variant which adds covered literals have this property. The third is logical equivalence w.r.t. the original CNF, i.e. preserving the set of satisfying assignments. We also address the problem of reconstructing original solutions to CNF formulas after applying a preprocessing. For many real application scenarios of SAT it is important to be able to extract a full satisfying assignment for original SAT instances from a satisfying assignment for the instances after preprocessing. For instance, when applying BCE, a solution to the original CNF is not directly available in general. We show how such full solutions can be efficiently reconstructed from solutions to the conjunctive normal form (CNF) formulas resulting from applying a blocked clause elimination and its hidden and asymmetric variants. Finally, we describe how the explicit clause elimination procedures can be implemented efficiently. Also, we evaluate the practical effectiveness of selected procedures, investigating both the CNF size reduction and resulting solving times.
منابع مشابه
Blocked Clause Elimination for QBF
Quantified Boolean formulas (QBF) provide a powerful framework for encoding problems from various application domains, not least because efficient QBF solvers are available. Despite sophisticated evaluation techniques, the performance of such a solver usually depends on the way a problem is represented. However, the translation to processable QBF encodings is in general not unique and may eithe...
متن کاملBlocked Clause Elimination
Boolean satisfiability (SAT) and its extensions are becoming a core technology for the analysis of systems. The SAT-based approach divides into three steps: encoding, preprocessing, and search. It is often argued that by encoding arbitrary Boolean formulas in conjunctive normal form (CNF), structural properties of the original problem are not reflected in the CNF. This should result in the fact...
متن کاملSoundness of Inprocessing in Clause Sharing SAT Solvers
We present a formalism that models the computation of clause sharing portfolio solvers with inprocessing. The soundness of these solvers is not a straightforward property since shared clauses can make a formula unsatisfiable. Therefore, we develop characterizations of simplification techniques and suggest various settings how clause sharing and inprocessing can be combined. Our formalization mo...
متن کاملClause Elimination Procedures for CNF Formulas
Abstract. We develop and analyze clause elimination procedures, a specific family of simplification techniques for conjunctive normal form (CNF) formulas. Extending known procedures such as tautology, subsumption, and blocked clause elimination, we introduce novel elimination procedures based on hidden and asymmetric variants of these techniques. We analyze the resulting nine (including five ne...
متن کاملSuper-Blocked Clauses
In theory and practice of modern SAT solving, clause-elimination procedures are essential for simplifying formulas in conjunctive normal form (CNF). Such procedures identify redundant clauses and faithfully remove them, either before solving in a preprocessing phase or during solving, resulting in a considerable speed up of the SAT solver. A wide number of effective clause-elimination procedure...
متن کامل